package com.example.boot1.controlelr;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Create By Liuqz
 * @date 2019/12/20 16:51
 */
@RestController
@Slf4j
public class HelloController {

    @RequestMapping(value = "/hi")
    public String say() {
        log.info("成功进入say方法");
        return "success";
    }
}
